ci: Make ${ARTIFACTS} directory
authorColin Walters <walters@verbum.org>
Mon, 14 Oct 2019 14:29:31 +0000 (14:29 +0000)
committerColin Walters <walters@verbum.org>
Mon, 14 Oct 2019 14:30:14 +0000 (14:30 +0000)
It may not exist in OpenShift Prow by default.

ci/build-check.sh

index 2b11b4d34e1fc8c68ed3b04d142a80bff1b93c69..af276ef0c95980e8dbc39fc5505e13072d3d2a4a 100755 (executable)
@@ -37,6 +37,7 @@ copy_out_gdtr_artifacts() {
     # TODO; Split the main/clang builds into separate build dirs
     local artifactdir
     artifactdir=${ARTIFACTS:-${topdir}}
+    mkdir -p "${artifactdir}"
     for x in test-suite.log config.log gdtr-results; do
         if test -e ${resultsdir}/${x}; then
             mv ${resultsdir}/${x} ${artifactdir}